import config from "@/config"
import http from "@/utils/request"

export default {
	myupload: {
		url: `${config.API_URL}/divisionSeal/uploadSealPicture`,
		name: "上传文件",
		post: async function(data={}){
			return await http.post(this.url, data);
		}
	},
	peopleSearch:{
		url: `${config.API_URL}/divisionSeal/peopleSearch`,
		name: "查询人",
		get: async function(params){
			return await http.get(this.url, params);
		}
	},
	engraveApply:{
		url: `${config.API_URL}/divisionSeal/engraveApply`,
		name: "刻制申请提交",
		post: async function(data={}){
			return await http.post(this.url, data);
		}
	},
	engraveSealData:{
		url: `${config.API_URL}/divisionSeal/getEngraveTable`,
		name: "查询印章刻制表格",
		get: async function(params){
			return await http.get(this.url, params);
		}
	},
	sealFiling:{
		url: `${config.API_URL}/divisionSeal/sealFiling`,
		name: "刻制印章备案提交",
		post: async function(data={}){
			return await http.post(this.url, data);
		}
	},
}